package com.baizw.cultivation.module.flowable.entity;

import cn.hutool.core.util.NumberUtil;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 模型实体
 *
 * @author 剧终1204
 * @version V1.0
 * @date 2020年10月14日 14:53
 */
@Data
@ApiModel("模型实体")
@TableName("act_de_model")
public class ModelEntity {
    
    @ApiModelProperty("模型ID")
    private String id;
    
    @ApiModelProperty("模型名称")
    private String name;
    
    @ApiModelProperty("模型Key")
    private String modelKey;
    
    @ApiModelProperty("模型描述")
    private String description;
    
    @ApiModelProperty("创建时间")
    private Date created;
    
    @ApiModelProperty("最后更新时间")
    private Date lastUpdated;
    
    @ApiModelProperty("创建人")
    private String createdBy;
    
    @ApiModelProperty("更新人")
    private String lastUpdatedBy;
    
    @ApiModelProperty("版本")
    private int version;
    
    @ApiModelProperty("模型类型")
    private Integer modelType;
    
    @TableField(exist = false)
    @ApiModelProperty("机构ID")
    private String orgId;
    
    public static void main(String[] args) {
        System.out.println(NumberUtil.binaryToInt("1111"));
        System.out.println(1111 >> 1);
    }
}